import { request } from "@/utils/request.js";

/**
 * 获取现金钱包余额
 * @returns {Promise<unknown>}
 */
export const getPurseInfoApi = () => {
    return request({
        url: '/ht-nonrealtime-gameservice/purse/tbUserPurse/purseInfo',
        method: 'GET',
    })
}


/**
 * 获取钱包使用记录-分页查询
 * @returns {Promise<unknown>}
 */
export const gettbUserPurseLogsListApi = params=> {
    return request({
        url: '/ht-nonrealtime-gameservice/purse/tbUserPurseLogs/list',
        method: 'POST',
		data:params
    })
}
